import http from "@/utils/axios";

// pdf流获取
export const getFileById = (
  fileId: any,
  headers: any = { responseType: "blob" }
) =>
  http.postbolb(
    "/admin/system/system-file/getFileById?fileId=" + fileId,
    headers
  );

//富文本文件上传
export const _post_topic_img = (formData: any) => {
  return http.post("/admin/system/system-file/upload", formData);
};
